home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 11 / Cream of the Crop 11-2.iso / os2 / gnucal.zip / gcal_def.h < prev    next >
C/C++ Source or Header  |  1995-12-20  |  5KB  |  135 lines

  1. #ifndef __GCAL_DEF_H
  2. #  define __GCAL_DEF_H
  3. /*
  4. *  gcal_def.h:  Program name, release number and modification symbols.
  5. *
  6. *
  7. *  Copyright (C) 1994, 1995 Thomas Esken
  8. *
  9. *  This software doesn't claim completeness, correctness or usability.
  10. *  On principle I will not be liable for any damages or losses (implicit
  11. *  or explicit), which result from using or handling my software.
  12. *  If you use this software, you agree without any exception to this
  13. *  agreement, which binds you LEGALLY !!
  14. *
  15. *  This program is free software; you can redistribute it and/or modify
  16. *  it under the terms of the `GNU General Public License' as published by
  17. *  the `Free Software Foundation'; either version 2, or (at your option)
  18. *  any later version.
  19. *
  20. *  You should have received a copy of the `GNU General Public License'
  21. *  along with this program; if not, write to the:
  22. *    Free Software Foundation
  23. *    59 Temple Place, Suite 330
  24. *    Boston, MA 02111-1307  USA
  25. */
  26.  
  27.  
  28.  
  29. /*
  30. *  $Id: gcal_def.h 0.39 1995/12/20 00:03:09 tom Exp $
  31. */
  32.  
  33.  
  34.  
  35. /*
  36. *  Define program name and version
  37. */
  38. #define  PRGR_NAME     "gcal"      /* Actual program name, 6 places maximum */
  39. #define  VERSION_NO    "0.39"      /* Actual version number */
  40.  
  41.  
  42.  
  43. /*
  44. *
  45. *  BEGIN: General program modification symbols,
  46. *           which may be changed by the user !!
  47. *
  48. */
  49.  
  50. /*
  51. *  To adapt this program, EITHER define/activate the following symbols in
  52. *    this file OR add the following symbols in Makefile (-D`symbol=value'...)
  53. *    (this all isn't necessary if the GNU Autoconf(igure) technology is used):
  54. *
  55. *  a)  - Define `DEBUG 1' for performing some assertations when program starts.
  56. *      - Delete the symbol DEBUG or write `DEBUG 0' if you don't want this
  57. *          feature...
  58. *
  59. *  b)  - Define `USE_CATH 1' for showing some specific Catholic holidays
  60. *          in eternal holiday list, too.
  61. *      - Delete the symbol USE_CATH or write `USE_CATH 0' if you don't
  62. *          need them...
  63. *
  64. *  c)  - Define `USE_EASC 1' for using the extended IBM-ASCII character set.
  65. *      - Delete the symbol USE_EASC or write `USE_EASC 0' for using the
  66. *          ISO-ASCII/EBCDIC character set...
  67. *
  68. *  d)  - Define `USE_GER 1' for using German messages and holidays.
  69. *      - Delete the symbol USE_GER or write `USE_GER 0' for using
  70. *          English messages and holidays...
  71. *
  72. *  e)  - Define `USE_HLS 1' to run this program using control sequences
  73. *          for highlighting the current day/holidays/text (MS/PC-DOS will
  74. *          use the [n]ansi.sys driver for emitting ANSI Escape highlighting
  75. *          sequences; OS2/Linux/UN*X-like systems will use `termcap' for
  76. *          emitting the terminal specific highlighting sequences.  If this
  77. *          fails, default (generic) ANSI highlighting sequences will be used).
  78. *      - Delete the symbol USE_HLS or write `USE_HLS 0' to run this program
  79. *          without highlighting...
  80. *
  81. *  f)  - Define `USE_PAGER 1' for using an external pager (availabe only
  82. *          on UN*X-like systems) or for using the simple, internal pager
  83. *          (if external pager fails).
  84. *      - Delete the symbol USE_PAGER or write `USE_PAGER 0' if you don't
  85. *          like this feature...
  86. *
  87. *  g)  - Define `USE_RC 1' for using the special month dates functions
  88. *          (print daily/weekly/monthly/yearly/eternal/special fixed dates
  89. *          texts which are stated in the resource file(s)).
  90. *      - Delete the symbol USE_RC or write `USE_RC 0' if you don't
  91. *          like this feature...
  92. *
  93. *  h)  - Define `USE_USHDY 1' for showing the specific U.S. holidays in
  94. *          eternal holiday list, too (active only in case symbol USE_GER
  95. *          is set to 0)
  96. *      - Delete the symbol USE_USHDY or write `USE_USHDY 0' if you
  97. *          don't need them...
  98. *
  99. *  i)  - Define EXIT_STAT_HLP 127 if you want the exit status 127 on
  100. *          --help, --long-help[=ARG], --license and --version.
  101. *      - Delete the symbol EXIT_STAT_HLP or define EXIT_STAT_HLP 0
  102. *          if you want the exit status 0 on --help, --long-help[=ARG],
  103. *          --license and --version...
  104. *
  105. *  j)  - Either define `GREG_1582 1' if you want the Gregorian reformation
  106. *          have occured in 1582 or define `GREG_1752 1' if you want the
  107. *          Gregorian reformation have occured in 1752.  Using this is not
  108. *          necessary in most cases, because this year is set correctly
  109. *          depending on selected language to use (see USE_GER); this means
  110. *          to the year 1582 for German users and to the year 1752 for
  111. *          English users by default.
  112. */
  113.  
  114. /*
  115. #  define  DEBUG 0
  116. #  define  USE_CATH 1
  117. #  define  USE_EASC 0
  118. #  define  USE_GER 0
  119. #  define  USE_HLS 1
  120. #  define  USE_PAGER 1
  121. #  define  USE_RC 1
  122. #  define  USE_USHDY 0
  123. #  define  EXIT_STAT_HLP 0
  124. #  define  GREG_1582 0
  125. #  define  GREG_1752 0
  126. */
  127.  
  128. /*
  129. *
  130. *  END: General program modification symbols,
  131. *         which may be changed by the user !!
  132. *
  133. */
  134. #endif /* __GCAL_DEF_H */
  135.